package com.sharemarking.wa.platform.dto.receiptManagement;

import java.util.Date;

/**
 * @author dxy
 */
public class OrderListDto {
    private Integer payRecordId;
    private Integer amount;
    private String description;
    private String code;
    private Date payTime;
    private Integer state;

    public Integer getPayRecordId() {
        return payRecordId;
    }

    public void setPayRecordId(Integer payRecordId) {
        this.payRecordId = payRecordId;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Long getPayTime() {
        if (payTime!=null){
            return payTime.getTime();
        }
        return null;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
